#include <bits/stdc++.h>

using namespace std;
int n,a[200000],b[200000],ans;
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    ans=n;
    for(int i=0;i<n;i++) cin>>a[i];
    sort(a,a+n);
    for(int i=1;i<n;i++){
        for(int j=i-1;j>=0;j--){
            if(a[i]>a[j] and b[j]==0){
                b[j]=1;
                ans--;
                break;
            }
        }
    }
    cout<<ans;
    return 0;
}
